package com.bestcem.xm.om.controller.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 预约返回的实体类
 *
 * @author xuan.yang <xuan.yang@idiaoyan.com>
 * @version v1.0
 * @date 2022/2/22 13:57
 */
@Data
public class UserBookingVO {
    private String id;
    @JsonProperty("user_name")
    private String userName;
    @JsonProperty("company_name")
    private String companyName;
    @JsonProperty("industry_id")
    private String industryId;
    @JsonProperty("om_admin_user_id")
    private String omAdminUserId;
    private String contact;
    private String email;
    private Integer status;
    @JsonProperty("remark")
    private String content;
    private String source;
    @JsonProperty("expiry_time")
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss")
    private LocalDateTime expiryTime;
    @JsonProperty("org_id")
    private String orgId;
    private String distribution;
    @JsonProperty("created_time")
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss")
    private LocalDateTime createTime;
    @JsonProperty("principal_op")
    private String principalOp;
    @JsonProperty("principal_op_name")
    private String principalOpName;
    @JsonProperty("record_flag")
    private Integer recordFlag;
    @JsonProperty("related_op_list")
    private List<String> relatedOpList;
    @JsonProperty("updated_time")
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss")
    private LocalDateTime updateTime;
    @JsonProperty("industry")
    private UserIndustryVO userIndustryVO;
    @JsonProperty("clue_id")
    private String clueId;
    @JsonProperty("label")
    private String label;
    @JsonProperty("location")
    private String location;
    @JsonProperty("business_status")
    private String businessStatus;
    @JsonProperty("srm_status")
    private String crmStatus;
    @JsonProperty("seo_source")
    private String seoSource;
}
